package algorithm;

/**
 * Created by kevin on 15-1-4.
 */
public class Student {
    private String name;
    private final int number;

    public Student(String na,int nu){
        name = na;
        number = nu;
    }

    public void print(){
        System.out.println("student number: " + number + " name: " + name);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNumber() {
        return number;
    }
}
